/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.talent_graduate.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 近十五年优秀毕业生Entity
 * @author hang
 * @version 2017-01-14
 */
public class TbTalentGraduate extends DataEntity<TbTalentGraduate> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 姓名
	private String birthday;		// 出生年月
	private String bachelorSchool;		// 授予学士学位的学校
	private String bachelorScience;		// 获学士学位的学科
	private String bachelorTime;		// 获得学士学位的年月
	private String masterSchool;		// 授予硕士学位的学校
	private String masterScience;		// 硕士学位的学科
	private String masterTime;		// 获得硕士学位的年月
	private String doctorateSchool;		// 授予博士学位的学校
	private String doctorateScience;		// 获得博士学位的学科
	private String doctorateTime;		// 获得博士学位的年月
	private String studentIntroduction;		// 优秀毕业生简介
	private Date createTime;		// 创建时间
	private Date updateTime;		// 更新时间
	
	public TbTalentGraduate() {
		super();
	}

	public TbTalentGraduate(String id){
		super(id);
	}

	@Length(min=0, max=64, message="姓名长度必须介于 0 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="出生年月长度必须介于 0 和 64 之间")
	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	
	@Length(min=0, max=64, message="授予学士学位的学校长度必须介于 0 和 64 之间")
	public String getBachelorSchool() {
		return bachelorSchool;
	}

	public void setBachelorSchool(String bachelorSchool) {
		this.bachelorSchool = bachelorSchool;
	}
	
	@Length(min=0, max=20, message="获学士学位的学科长度必须介于 0 和 20 之间")
	public String getBachelorScience() {
		return bachelorScience;
	}

	public void setBachelorScience(String bachelorScience) {
		this.bachelorScience = bachelorScience;
	}
	
	@Length(min=0, max=64, message="获得学士学位的年月长度必须介于 0 和 64 之间")
	public String getBachelorTime() {
		return bachelorTime;
	}

	public void setBachelorTime(String bachelorTime) {
		this.bachelorTime = bachelorTime;
	}
	
	@Length(min=0, max=64, message="授予硕士学位的学校长度必须介于 0 和 64 之间")
	public String getMasterSchool() {
		return masterSchool;
	}

	public void setMasterSchool(String masterSchool) {
		this.masterSchool = masterSchool;
	}
	
	@Length(min=0, max=64, message="硕士学位的学科长度必须介于 0 和 64 之间")
	public String getMasterScience() {
		return masterScience;
	}

	public void setMasterScience(String masterScience) {
		this.masterScience = masterScience;
	}
	
	@Length(min=0, max=64, message="获得硕士学位的年月长度必须介于 0 和 64 之间")
	public String getMasterTime() {
		return masterTime;
	}

	public void setMasterTime(String masterTime) {
		this.masterTime = masterTime;
	}
	
	@Length(min=0, max=64, message="授予博士学位的学校长度必须介于 0 和 64 之间")
	public String getDoctorateSchool() {
		return doctorateSchool;
	}

	public void setDoctorateSchool(String doctorateSchool) {
		this.doctorateSchool = doctorateSchool;
	}
	
	@Length(min=0, max=64, message="获得博士学位的学科长度必须介于 0 和 64 之间")
	public String getDoctorateScience() {
		return doctorateScience;
	}

	public void setDoctorateScience(String doctorateScience) {
		this.doctorateScience = doctorateScience;
	}
	
	@Length(min=0, max=64, message="获得博士学位的年月长度必须介于 0 和 64 之间")
	public String getDoctorateTime() {
		return doctorateTime;
	}

	public void setDoctorateTime(String doctorateTime) {
		this.doctorateTime = doctorateTime;
	}
	
	@Length(min=0, max=500, message="优秀毕业生简介长度必须介于 0 和 500 之间")
	public String getStudentIntroduction() {
		return studentIntroduction;
	}

	public void setStudentIntroduction(String studentIntroduction) {
		this.studentIntroduction = studentIntroduction;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}